import { defineConfig } from '@umijs/max';
import proxy from './proxy';
import routes from './routes';
export default defineConfig({
  title: '渠道后台',
  access: {},
  model: {},
  initialState: {},
  request: {},
  layout: {
    title: '渠道后台',
  },
  headScripts: [
    // 解决首次加载时白屏的问题
    { src: '/loading.js', async: true },
  ],

  routes,
  npmClient: 'yarn',
  proxy,
  tailwindcss: {},
});
